<?php
/* @file del-volume.php
 * @author Liuexp
 * @description php interface for deleting volume
 */


require_once("helper.php");
if(!InGroup(GROUP_DEL_VOLUME)){
	MsgBox(ACCESS_DENIED);
	exit();
}
$name=$_GET['volume'];
$bean=R::findOne("volume","name='$name'");
R::trash($bean);
MsgBox(SUCC);
?>
